﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace PSE.AuditLogging.ContingencyService.Configuration
{

    public class LogResenderConfigurationSection : ConfigurationSection
    {
        [ConfigurationProperty("executionInterval", IsRequired = true)]
        public int ExecutionInterval
        {
            get
            {
                return (int)this["executionInterval"];
            }
            set
            {
                this["executionInterval"] = value;
            }
        }

        [ConfigurationProperty("logSenders")]
        public LogSenderConfigurationSectionCollection LogSenders
        {
            get
            {
                return (LogSenderConfigurationSectionCollection)this["logSenders"];
            }
            set
            {
                this["logSenders"] = value;
            }
        }
    }
}
